﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
Theme="SkinFile" CodeBehind="NationalTeam.aspx.cs" Inherits="Nivdal.NationalTeam" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
    <script language="javascript" type="text/javascript">
        
        function EditStatusOpen() {
            $("#statusDiv").hide(0);
            $("#editStatus").fadeIn(0);
            $("#ctl00_ctl00_ContentPlaceHolder3_ContentPlaceHolder1_StatusTextBox").focus();
        }

        function EditStatusCancel() {
            $("#statusDiv").fadeIn(0);
            $("#editStatus").hide(0);
        }

        function FadeInStatusBox() {
            $("#editStatus").hide(0);
        }

        function doFocus(textboxname) {
            // textboxname.className = 'modernTextboxFocus';
            textboxname.value = textboxname.value;
        }

        function EditStadium() {
            $("#DefaultStadium").hide();
            $("#EditDefaultStadium").show(100);
        }

        function ShowUploader() {
            $("#LogoUploader").show(100);
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <Triggers>
        <asp:PostBackTrigger ControlID="TeamFormView$UploadTeamLogoButton" />
    </Triggers>
    <ContentTemplate>

    <asp:Panel ID="MessagePanel" runat="server" Visible="false">
        <div class="basic_element padding5">
            <asp:Label ID="MessageLabel" runat="server" SkinID="RedSmallHeaderLabel"></asp:Label>
        </div>
    </asp:Panel>
    
    <asp:HiddenField ID="TeamIdHiddenField" runat="server" />
    <asp:FormView ID="TeamFormView" runat="server" DataSourceID="TeamInfoDataSource" style="width:100%;">
    <ItemTemplate>
        
        <div class="basic_element">
        <div class="red_title_no_padding">
        <div class="grey_title_inside_red floater">
             <asp:Label ID="TeamNameLabel" runat="server" CssClass="team_name_white" Text='<%# Eval("TeamName") %>'></asp:Label>
             <asp:Label ID="TeamIdLabel" runat="server" CssClass="team_id_white" Text='<%# "Team Id: " + Eval("TeamId") %>'></asp:Label>
        </div>
        <div class="grey_title_triangle floater"></div>
          <asp:HyperLink ID="Countrylink" runat="server" ImageUrl='<%# "Images/Flags/" + Eval("Flag") %>' CssClass="rounded_corners"
             ToolTip='<%# Eval("CountryName") %>' NavigateUrl='<%# "Country.aspx?Id=" + Eval("CountryId") %>'></asp:HyperLink>
            <asp:ImageButton ID="BookmarkLinkButton" runat="server" ImageUrl="~/Images/bookmarks.png" 
            ToolTip="<%$ Resources:Resource, TeamHomePage_BookmarkButton_ToolTip %>" OnClick="BookmarkButton_Click" />
        </div>
        <div class="padding5">

        
            <table style="width:100%;">
            <tr>
            <td style="width:30%;vertical-align:top;">
                <asp:Image ID="TeamLogImage" runat="server" ImageUrl='<%# Eval("Logo") %>' AlternateText='<%# Eval("TeamName") %>'
                     onerror="this.src='Images/menupicture.gif';" />
                    <br /><br />
                    <asp:HyperLink ID="PlayersHyperlink" runat="server" SkinID="GreenTitleHyperLink" Text="<%$ Resources:Resource, Global_Players %>"
                    NavigateUrl='<%# "~/TeamListOfPlayers.aspx?TeamId=" + Eval("TeamId") + "&NationalTeam=yes" %>'></asp:HyperLink>
                    <br />
                    <asp:HyperLink ID="MatchesLink" runat="server" SkinID="GreenTitleHyperLink" 
                    Text="<%$ Resources:Resource, Global_Matches %>"
                    NavigateUrl='<%# "~/ListOfTeamMatches.aspx?TeamId=" + Eval("TeamId") + "&NationalTeam=yes" %>'></asp:HyperLink>
                    <br />
                    <asp:LinkButton ID="EditLogo" runat="server" Text="<%$ Resources:Resource, Preferences_TeamLogoLabel %>"
                     OnClientClick="javascript:ShowUploader(); return false;" SkinID="GreenTitleLink"></asp:LinkButton>
                <div id="LogoUploader" style="display:none;">
                    <asp:FileUpload ID="TeamLogoFileUpload" runat="server" />
                    <asp:Button ID="UploadTeamLogoButton" CssClass="GreenSmallButtonStyle" runat="server"
                    Text="<%$ Resources:Resource, Global_Upload %>" OnClick="UploadTeamLogoButton_Click" />
                </div>
            </td>
            <td style="width:40%; vertical-align:top;">
        
            <asp:Label ID="ManagerTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Manager %>" SkinID="InfoLabel"></asp:Label>
            <asp:HyperLink ID="ManagerLink" NavigateUrl='<%# "~/UserPage.aspx?Id=" + Eval("ManagerId") %>'
             Text='<%# Eval("ManagerName") %>' SkinID="GreenTitleHyperLink" runat="server"></asp:HyperLink>
            <br />
            <asp:Label ID="ManagerDatesLabel" runat="server" SkinID="GridLabel" 
            Text='<%# Eval("ManagerStartDate") + " - " + Eval("ManagerTillDate") %>'></asp:Label>
            <br />
            <div  style="display:none;">
            <asp:Label ID="DefaultStadiumTitleLabel" runat="server" SkinID="InfoLabel" 
             Text="<%$ Resources:Resource, Preferences_DefaultStadiumTitleLabel %>"></asp:Label>
             <div id="DefaultStadium">
                <asp:Hyperlink ID="DefaultStadiumLink" runat="server" Text='<%# Eval("StadiumName") %>'
                 NavigateUrl='<%# "~/StadiumPage.aspx?StadiumId=" + Eval("StadiumId") %>' SkinID="GreenTitleHyperLink"></asp:Hyperlink>
                <asp:ImageButton ID="EditStadium" ImageUrl="~/Images/Icons/edit.png" ToolTip="<%$ Resources:Resource, Global_Edit %>"
                 OnClientClick="javascript:EditStadium(); return false;" runat="server" />
             </div>
             <div id="EditDefaultStadium" style="display:none;">
                <asp:DropDownList ID="StadiumsDDL" runat="server" DataSourceID="StadiumsDataSource"
                DataTextField="StadiumName" DataValueField="StadiumId" SelectedValue='<%# Eval("StadiumId") %>'></asp:DropDownList>
                <asp:ImageButton ID="SubmitStadium" runat="server" OnClick="SubmitStadium" ImageUrl="~/Images/Icons/vi.png"
                    ToolTip="<%$ Resources:Resource, Global_Submit %>" />
             </div>
             </div>
             <asp:Label ID="FitnessTitleLabel" runat="server" SkinID="InfoLabel" Text="<%$ Resources:Resource, Global_Fitness %>"></asp:Label>
             <asp:Label ID="FitnessLabel" runat="server" SkinID="GridLabel" Text='<%# Eval("Fitness") %>'></asp:Label>
            <br />
            <asp:Label ID="RegionTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Region %>" SkinID="InfoLabel"></asp:Label>
            <asp:Label ID="RegionLabel" runat="server" Text='<%# Eval("RegionName") %>' SkinID="GridLabel"></asp:Label>
            <br />
            <asp:Label ID="WorldRankTitleLabel" runat="server" SkinID="InfoLabel" 
             Text="<%$ Resources:Resource, NationalTeams_CurrentWorldRankTitle %>"></asp:Label>
            <asp:Label ID="WorldRankLabel" runat="server" SkinID="GridLabel" Text='<%# Eval("WorldRank") %>'></asp:Label>
            <br />
            <asp:Label ID="RegionalRankTitleLabel" runat="server" SkinID="InfoLabel" 
             Text="<%$ Resources:Resource, NationalTeams_CurrentRegionalRankTitle %>"></asp:Label>
            <asp:Label ID="RegionalRankLabel" runat="server" SkinID="GridLabel" Text='<%# Eval("RegionalRank") %>'></asp:Label>
            <asp:Panel ID="ManagerPanel" runat="server">        
                <asp:Label ID="SynergyTitleLabel" runat="server" SkinID="InfoLabel"
                Text="<%$ Resources:Resource, Training_GlueDropDownListTitleLabel %>"></asp:Label>
                <asp:Label ID="SynergyLabel" runat="server" SkinID="GridLabel" Text='<%# Eval("Synergy") %>'></asp:Label>
                <%--<br />
                <asp:Label ID="SetPiecesTitleLabel" runat="server" SkinID="InfoLabel"
                 Text="<%$ Resources:Resource, Training_SetPiecesDropDownListTitleLabel %>"></asp:Label>
                <asp:Label ID="SetPiecesLabel" runat="server" SkinID="GridLabel"
                 Text='<%# Eval("SetPieces") %>'></asp:Label>--%>
            </asp:Panel>
            <br /><br />

            <asp:UpdatePanel ID="StatusUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <div id="statusDiv">
                    <i><asp:Label ID="StatusLabel" runat="server" SkinID="GridLabel" Text='<%# ReplaceEOL(Eval("StatusText")) %>' ></asp:Label></i>
                    <br />
                    <asp:Button ID="EditStatusButton" runat="server" Text="<%$ Resources:Resource, TeamHomePage_EditStatusButtonText %>"
                     CssClass="GreenSmallButtonStyle" OnClientClick="EditStatusOpen(); return false;" />
                </div>
                <div id="editStatus" style="display:none; border:2px solid #F4F3F3;">

                    <CustomControls:TextArea ID="StatusTextBox" runat="server" Width="250" Height="60" TextMode="MultiLine"
                     MaxLength="255" CssClass="invisibleTextbox" onfocus="doFocus(this);" Text='<%# Eval("StatusText") %>' ></CustomControls:TextArea>
                 
                    <br />
                    <div style="background-color:#F4F3F3; width:100%; text-align:center; padding:2px 0px 2px 0px; ">
                
                        <asp:Button ID="SubmitStatusButton" runat="server" Text="<%$ Resources:Resource, Global_Submit %>" CssClass="GreenSmallButtonStyle"
                            OnClientClick="FadeInStatusBox(); return true;" OnClick="SubmitNewStatus" />
                        <asp:Button ID="CancelStatusButton" runat="server" Text="<%$ Resources:Resource, Global_Cancel %>" CssClass="GreySmallButtonStyle"
                            OnClientClick="EditStatusCancel(); return false;" />
                
                     </div>
                </div>
            </ContentTemplate>
            </asp:UpdatePanel>
            </td>
            <td style="width:30%;">
                <asp:ListView ID="PrizeShelfListView" runat="server" DataSourceID="TropheySqlDataSource">
                    <LayoutTemplate>
                        <asp:Label ID="TrophyLabel" runat="server" Text="<%$ Resources:Resource, TrophyLabelText %>"  SkinID="InfoLabel"></asp:Label>
                        <br />
                        <asp:Image ID="itemPlaceholder" runat="server" />
                    </LayoutTemplate>
                    <ItemTemplate>
                        <asp:Image ID="CupImage" runat="server" ImageUrl='<%# Eval("Image", "~/Images/Prizes/{0}") %>' ToolTip='<%# Eval("Note") %>' />
                    </ItemTemplate>
                    <EmptyDataTemplate>
                        <asp:Label ID="EmptyShelfLabel" runat="server" Text="<%$ Resources:Resource, EmptyShelfLabelText %>"  SkinID="InfoLabel" meta:resourcekey="aaa"></asp:Label>             
                    </EmptyDataTemplate>
                </asp:ListView>  
        
                <br /><br /> 
                <asp:HyperLink ID="InviteToFriendlyLink" runat="server" Visible='<%# InviteToFriendlyVisibile() %>'
                 NavigateUrl='<%# "~/InviteNTFriendly.aspx?InvitedTeam=" + Eval("TeamId") %>'
                 Text="<%$ Resources:Resource, TeamHomePage_FriendlyChallangeTitleLabelText %>" SkinID="BlackHyperLinkSkin"></asp:HyperLink>        
            </td>
            </tr>
            </table>
            <div class="clearBoth"></div> 
        </div>
        </div>
        <div class="basic_element">
        <div class="red_title_no_padding">
        <div class="grey_title_inside_red floater">
            <asp:Label ID="GamesTitleLabel" runat="server" Text="<%$ Resources:Resource, Global_Games %>" CssClass="team_name_white"></asp:Label>

        </div>
        <div class="grey_title_triangle floater"></div>
        </div>
        <div class="clearBoth"></div>
        
        <div class="floater basic_element_in">
        <div class="padding5" id="thp_last_match">

            <asp:FormView ID="LastMatchFormView" runat="server" DataSourceID="PrevMatchDataSource" OnItemCommand="AddMatchToLive">
            <ItemTemplate>
                <div class="align_center" >
                    <asp:HyperLink ID="PrevMatchLink" runat="server" Text="<%$ Resources:Resource, PrevMatchLinkText %>" SkinID="GreenTitleHyperLink"
                        NavigateUrl='<%# Eval("MatchId", "MatchPage.aspx?MatchId={0}") %>' Visible='<%# Eval("Previous") %>'></asp:HyperLink>
                    <asp:HyperLink ID="OngoingMatchLinkButton" runat="server" Text="<%$ Resources:Resource, OngoingMatchLinkButtonText %>" SkinID="GreenTitleHyperLink"
                        NavigateUrl='<%# Eval("MatchId", "MatchPage.aspx?MatchId={0}") %>' Visible='<%# Eval("Ongoing") %>'></asp:HyperLink>
                    <asp:ImageButton ID="AddToLiveButton" runat="server" ImageUrl="~/Images/Icons/LiveDetails.png" CommandName="AddToLive"
                        CommandArgument='<%# Eval("MatchId") %>' Visible='<%# Eval("CanAddToLive") %>' />
                    <hr />
                    <asp:Image ID="MatchTypeImage" runat="server" ImageUrl='<%# GetNivdalData.GetNivdalData.GetIconByMatchType(Eval("Type")) %>' 
                            ToolTip='<%#GetNivdalData.GetNivdalData.GetToolTipByMatchType(Eval("Type")) %>'/>
                    <asp:Label ID="PrevMatchDateLabel" runat="server" Text='<%# Eval("Date") %>'        
                        SkinID="SmallHeaderLabel"></asp:Label> 
                    <div class="clearBoth"></div>

                </div>
                <div class="floater width50 padding5"   >
                    <asp:Hyperlink ID="PrevMatchHomeTeamNameLink" runat="server" Text='<%# Eval("HomeTeamName") %>'
                         NavigateUrl='<%# Eval("HomeTeamId", "NationalTeam.aspx?Id={0}") %>' CssClass="TeamLinkInMatchStyle"></asp:Hyperlink>
                </div>
                <div class="floater width50 padding5">
                    <asp:Image ID="VsImage1" runat="server" ToolTip="<%$ Resources:Resource, VS1LabelText %>" ImageUrl="~/Images/Icons/TeamHomePageIcons/vs.png" />
                </div>                        
                <div class="floater width50 padding5">
                    <asp:Hyperlink ID="PrevMatchAwayTeamNameLink" runat="server" Text='<%# Eval("AwayTeamName") %>'
                         NavigateUrl='<%# Eval("AwayTeamId", "NationalTeam.aspx?Id={0}") %>' CssClass="TeamLinkInMatchStyle"></asp:Hyperlink>
                </div>                        
                <div class="clearBoth"></div>    
                <div class="floater width50 padding5">
                    <asp:Image ID="PrevMatchHomeTeamLogo" runat="server"  onerror="this.src='Images/menupicture.gif';"
                        ImageUrl='<%# Eval("HomeTeamLogo") %>' Width="32px" Height="32px"/>
                </div>
                <div class="floater width50 padding5">
                    <asp:Label ID="PrevMatchResultLabel" runat="server" Text='<%# Eval("Result") %>' SkinID="InfoLabel"></asp:Label>
                </div>
                <div class="floater width50 padding5">
                    <asp:Image ID="PrevMatchAwayTeamLogo" runat="server"  onerror="this.src='Images/menupicture.gif';"
                        ImageUrl='<%# Eval("AwayTeamLogo") %>' Width="32px" Height="32px"/> 
                </div>
            </ItemTemplate>
            </asp:FormView>
        </div></div>
        <div class="floater basic_element_in align_center">
        <div class="padding5" id="thp_league_table">
            <%--w.c. table--%>
        </div>
        </div>
        <div class="floater basic_element_in">
        <div class="padding5" id="thp_next_match">    
            <asp:FormView ID="NextMatchFormView" runat="server" DataSourceID="NextMatchDataSourse" Width="100%" OnItemCommand="AddMatchToLive">
                <ItemTemplate>
                    <div class="align_center" >
                        <asp:HyperLink ID="NextMatchLabel" runat="server" Text="<%$ Resources:Resource, NextMatchLabelText %>" SkinID="GreenTitleHyperLink"
                          NavigateUrl='<%# Eval("MatchId", "MatchPage.aspx?MatchId={0}") %>'></asp:HyperLink>
                        <asp:ImageButton ID="AddToLiveButton" runat="server" ImageUrl="~/Images/Icons/LiveDetails.png" CommandName="AddToLive"
                         CommandArgument='<%# Eval("MatchId") %>' Visible='<%# IsAllowedLive(Eval("CanAddToLive")) %>' 
                         ToolTip="<%$ Resources:Resource, Live_AddMatchToLiveText %>" />
                        <asp:HyperLink ID="NextMatchInstructionsLink" runat="server" NavigateUrl='<%# "~/MatchInstructions_New.aspx?MatchId=" + Eval("MatchId") %>'
                         ImageUrl='<%# InstructionsImage(Eval("InstructionsNeeded")) %>' 
                         ToolTip='<%# InstructionsToolTip(Eval("InstructionsNeeded")) %>'
                         Visible='<%# InstructionsVisible(Eval("InstructionsNeeded")) %>'></asp:HyperLink>
                        <hr />   
                        <asp:Image ID="MatchTypeImage" runat="server" ImageUrl='<%# GetNivdalData.GetNivdalData.GetIconByMatchType(Eval("Type")) %>' 
                                    ToolTip='<%#GetNivdalData.GetNivdalData.GetToolTipByMatchType(Eval("Type")) %>'/>
                        <asp:Label ID="NextMatchDateLabel" runat="server" Text='<%# Eval("Date") %>'        
                             SkinID="SmallHeaderLabel"></asp:Label>
                        <div class="clearBoth"></div>
                        <div class="floater width50 padding5">
                            <asp:Hyperlink ID="NextMatchHomeTeamNameLink" runat="server" Text='<%# Eval("HomeTeamName") %>'
                         NavigateUrl='<%# Eval("HomeTeamId", "NationalTeam.aspx?Id={0}") %>' CssClass="TeamLinkInMatchStyle"></asp:Hyperlink>  
                        </div>
                        <div class="floater width50 padding5">
                            <asp:Image ID="VsImage2" runat="server" ToolTip="<%$ Resources:Resource, VS1LabelText %>" ImageUrl="~/Images/Icons/TeamHomePageIcons/vs.png" />
                        </div>
                        <div class="floater width50 padding5">
                            <asp:Hyperlink ID="NextMatchAwayTeamNameLink" runat="server" Text='<%# Eval("AwayTeamName") %>'
                             NavigateUrl='<%# Eval("AwayTeamId", "NationalTeam.aspx?Id={0}") %>' CssClass="TeamLinkInMatchStyle"></asp:Hyperlink>
                        </div>
                        <div class="clearBoth"></div>
                        <div class="floater width50 padding5">
                            <asp:Image ID="NextMatchHomeTeamLogo" runat="server" onerror="this.src='Images/menupicture.gif';"
                        ImageUrl='<%# Eval("HomeTeamLogo") %>' Width="32px" Height="32px"/>  
                        </div>
                        <div class="floater width50 padding5">&nbsp;</div>
                        <div class="floater width50 padding5">
                            <asp:Image ID="NextMatchAwayTeamLogo" runat="server" onerror="this.src='Images/menupicture.gif';"
                        ImageUrl='<%# Eval("AwayTeamLogo") %>' Width="32px" Height="32px"/> 
                        </div>
                        <div class="clearBoth"></div>
                    </div>
                </ItemTemplate>
            </asp:FormView>
        </div>
        </div>
        <div class="clearBoth"></div>
        </div>
    </ItemTemplate>
    </asp:FormView>
       
        
        
           
       
        <div class="basic_element">
        <div class="red_title">
           <asp:Label ID="InvitesReleasestitleLabel" runat="server" CssClass="white_title" Text="<%$ Resources:Resource, NationalTeam_InvitesAndReleasestitle %>"  ></asp:Label>
        </div>
        <div class="padding5">
        
        <asp:Gridview ID="InvitesReleasesGridview" runat="server" SkinID="Professional" AutoGenerateColumns="false"
         AllowPaging="true" PageSize="20" DataSourceID="InvitesDataSource" >
            <PagerSettings FirstPageText="<%$ Resources:Resource, FirstPage %>" LastPageText="<%$ Resources:Resource, LastPage %>"  Mode="NumericFirstLast"
             PageButtonCount="10" Position="Bottom" />
            <PagerStyle CssClass="pagination" HorizontalAlign="Center" />
            <Columns>
                <asp:TemplateField ItemStyle-Width="7%">
                    <ItemTemplate>
                        <asp:Image ID="InviteImage" runat="server" ImageUrl="~/Images/Icons/arrowup.png" AlternateText="<%$ Resources:Resource, NationalTeam_Invitation %>"
                         ToolTip="<%$ Resources:Resource, NationalTeam_Invitation %>" Visible='<%# Eval("TransferIn").ToString() == "1" %>' />
                        <asp:Image ID="ReleaseImage" runat="server" ImageUrl="~/Images/Icons/arrowdown.png" AlternateText="<%$ Resources:Resource, NationalTeam_Release %>"
                         ToolTip="<%$ Resources:Resource, NationalTeam_Release %>" Visible='<%# Eval("TransferIn").ToString() == "0" %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="<%$ Resources:Resource, Global_Date %>" ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="DateLabel" runat="server" SkinID="GridLabel" Text='<%# Eval("TransferDate") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>            
                <asp:TemplateField HeaderText="<%$ Resources:Resource, Global_Player %>" ItemStyle-Width="83%">
                    <ItemTemplate>
                        <asp:HyperLink ID="PlayerLink" runat="server" NavigateUrl='<%# "~/Player.aspx?Id=" + Eval("PlayerId") %>'
                         Text='<%# Eval("PlayerName") %>' SkinID="BlackHyperLinkSkin"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:Gridview>
        </div>
        </div>
        
        <asp:SqlDataSource ID="TeamInfoDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_NTGetTeamInfo" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
        <asp:SqlDataSource ID="InvitesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_NTGetListOfInvitesAndReleases" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
         <asp:SqlDataSource ID="TropheySqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetTrophiesList" SelectCommandType="StoredProcedure"></asp:SqlDataSource>  
        <asp:SqlDataSource ID="PrevMatchDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetLastMatchforTeam" SelectCommandType="StoredProcedure"></asp:SqlDataSource>         
        <asp:SqlDataSource ID="NextMatchDataSourse" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_GetNextMatchforTeam" SelectCommandType="StoredProcedure"></asp:SqlDataSource> 
        <asp:SqlDataSource ID="StadiumsDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="Nivdal_NTGetStadiumsListForNT" SelectCommandType="StoredProcedure"></asp:SqlDataSource> 
        
    </ContentTemplate>
    </asp:UpdatePanel>    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameTeamNameLabel" runat="server" CssClass="PageNameContentStyle"></asp:Label>
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, PageNameLabelText %>" CssClass="PageNameContentStyle"></asp:Label>   
</asp:Content>
